import CTextAreaForm from '@/components/CTextAreaForm/CTextAreaForm'
import { Col, Form } from '@douyinfe/semi-ui'

interface IParamFormItem {}

export default function ParamFormItem(props: IParamFormItem) {
  return (
    <>
      <Col span={24}>
        <Form.Input
          field="name"
          showClear
          rules={[{ required: true, message: '请输入参数名称' }]}
          label="参数名称"
        />
      </Col>
      <Col span={24}>
        <Form.Input
          field="value"
          showClear
          rules={[{ required: true, message: '请输入参数值' }]}
          label="参数值"
        />
      </Col>
      <Col span={24}>
        <Form.Switch
          field="enableFlag"
          label={{
            text: '启用',
          }}
        />
      </Col>
      <Col span={24}>
        <CTextAreaForm></CTextAreaForm>
      </Col>
    </>
  )
}
